package com.oa.modules.approvalsec1.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("licence_record_view")
public class LicenceRecordEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "创建时间")
    private Date datetime;

    @ApiModelProperty(value = "申请人")
    private String username;

    @ApiModelProperty(value = "证件号")
    private String idcard;

    @ApiModelProperty(value = "联系方式")
    private String phone;

    @ApiModelProperty(value = "子类id")
    private Integer lid;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "父id")
    private Integer pid;

    @ApiModelProperty(value = "父名称")
    private String pname;

    @ApiModelProperty(value = "祖id")
    private Integer ppid;

    @ApiModelProperty(value = "祖名称")
    private String ppname;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getDatetime() {
        return datetime;
    }

    public void setDatetime(Date datetime) {
        this.datetime = datetime;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getLid() {
        return lid;
    }

    public void setLid(Integer lid) {
        this.lid = lid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public Integer getPpid() {
        return ppid;
    }

    public void setPpid(Integer ppid) {
        this.ppid = ppid;
    }

    public String getPpname() {
        return ppname;
    }

    public void setPpname(String ppname) {
        this.ppname = ppname;
    }

    @Override
    public String toString() {
        return "LicenceRecordEntity{" +
                "id=" + id +
                ", datetime=" + datetime +
                ", username='" + username + '\'' +
                ", idcard='" + idcard + '\'' +
                ", phone='" + phone + '\'' +
                ", lid=" + lid +
                ", name='" + name + '\'' +
                ", pid=" + pid +
                ", pname='" + pname + '\'' +
                ", ppid=" + ppid +
                ", ppname='" + ppname + '\'' +
                '}';
    }
}
